package edu.hwadee.entity;

import java.util.Date;

/**
 * Carsafety entity. @author MyEclipse Persistence Tools
 */

public class Carsafety implements java.io.Serializable {

	// Fields

	private Integer carsafetyId;
	private Staff staff;
	private Car car;
	private String safetyType;
	private Date startDate;
	private Date endDate;
	private Float amount;
	private Float benefit;
	private String policy;
	private String scannedCopy;
	private Date receiveDate;

	// Constructors

	/** default constructor */
	public Carsafety() {
	}

	/** full constructor */
	public Carsafety(Staff staff, Car car, String safetyType, Date startDate, Date endDate, Float amount, Float benefit,
			String policy, String scannedCopy, Date receiveDate) {
		this.staff = staff;
		this.car = car;
		this.safetyType = safetyType;
		this.startDate = startDate;
		this.endDate = endDate;
		this.amount = amount;
		this.benefit = benefit;
		this.policy = policy;
		this.scannedCopy = scannedCopy;
		this.receiveDate = receiveDate;
	}

	// Property accessors

	public Integer getCarsafetyId() {
		return this.carsafetyId;
	}

	public void setCarsafetyId(Integer carsafetyId) {
		this.carsafetyId = carsafetyId;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public Car getCar() {
		return this.car;
	}

	public void setCar(Car car) {
		this.car = car;
	}

	public String getSafetyType() {
		return this.safetyType;
	}

	public void setSafetyType(String safetyType) {
		this.safetyType = safetyType;
	}

	public Date getStartDate() {
		return this.startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return this.endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Float getAmount() {
		return this.amount;
	}

	public void setAmount(Float amount) {
		this.amount = amount;
	}

	public Float getBenefit() {
		return this.benefit;
	}

	public void setBenefit(Float benefit) {
		this.benefit = benefit;
	}

	public String getPolicy() {
		return this.policy;
	}

	public void setPolicy(String policy) {
		this.policy = policy;
	}

	public String getScannedCopy() {
		return this.scannedCopy;
	}

	public void setScannedCopy(String scannedCopy) {
		this.scannedCopy = scannedCopy;
	}

	public Date getReceiveDate() {
		return this.receiveDate;
	}

	public void setReceiveDate(Date receiveDate) {
		this.receiveDate = receiveDate;
	}

}